package com.yangit.temp.common.entity;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

@Component
@Profile("dev")
public class Teacher implements Person {
    @Override
    public void say() {
        System.out.println("我是老师");
    }
}
